<template>
	<view :style="[AppSkinVar]">
		<ClassifyCard index="classifyCardPage" :isTababr="false" @endRefresh="stopDownRefresh"></ClassifyCard>
	</view>
	
</template>

<script setup lang="ts">
	import ClassifyCard from './tabbar/child/classify/index.vue'
	import {
		onReady,
		onShow,
		onReachBottom,
		onPullDownRefresh
	} from '@dcloudio/uni-app'
	import customTabbar from './tabbar/utils/customTabbar'
	import { useI18n } from "vue-i18n";
	
	
	const {t} = useI18n()
	const stopDownRefresh = () => {
			// 停止下拉动作
			uni.stopPullDownRefresh()
		}
	onReady(() => {
		uni.setNavigationBarTitle({
			title: t('tabbar.分类')
		})
	})
	
	onShow(() => {
		customTabbar.onShow('classifyCardPage')
	})
	onReachBottom(() => {
		customTabbar.onReachBottom('classifyCardPage')
	})
	onPullDownRefresh(() => {
		customTabbar.onPullDownRefresh('classifyCardPage')
	})
	
	
</script>

<style>
</style>